
; Directory page
!ifndef UPDATER
        !insertmacro MUI_PAGE_DIRECTORY
!endif

; Start menu page
var ICONS_GROUP
!define MUI_STARTMENUPAGE_NODISABLE
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "LeisureCenter"
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}"
!define MUI_STARTMENUPAGE_REGISTRY_KEY "${PRODUCT_UNINST_KEY}"
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "${PRODUCT_STARTMENU_REGVAL}"

!ifndef UPDATER
        !insertmacro MUI_PAGE_STARTMENU Application $ICONS_GROUP
!endif

; Instfiles page
!insertmacro MUI_PAGE_INSTFILES

; Finish page
!ifndef UPDATER
        !define MUI_FINISHPAGE_RUN "$INSTDIR\bin\LeisureCenter.exe"
        !define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\lisezmoi.txt"
        !insertmacro MUI_PAGE_FINISH
!endif

; Uninstaller pages
!insertmacro MUI_UNPAGE_INSTFILES

; Language files

!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_LANGUAGE "French"

; Reserve files
!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS

; MUI end ------


